/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2022-08-31 15:58:58
 * @LastEditTime: 2022-08-31 16:01:43
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \yili-musicd:\Developer\WGJ\VSCode_WorkSpace\Java\MyBatis\MyBatis_demo1\src\main\java\com\atguigu\mybatis\pojo\User.java
 * @Description:
 */
package com.atguigu.mybatis.pojo;

public class User {

    private Integer id;

    private String username;

    private String password;

    private int age;

    private String sex;

    private String email;

    public User() {
    }

    public User(Integer id, String username, String password, int age, String sex, String email) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.age = age;
        this.sex = sex;
        this.email = email;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User [age=" + age + ", email=" + email + ", id=" + id + ", password=" + password + ", sex=" + sex
                + ", username=" + username + "]";
    }

}
